package com.situ.crm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.crm.entity.Dict;
import com.situ.crm.mapper.DictMapper;
import com.situ.crm.service.IDictService;

@Service("dictService")
public class DictServiceImpl implements IDictService {

	@Autowired
	private DictMapper dictMapper;
	
    @Override
    public List<Dict> selectList(String category) {
        return dictMapper.selectByCategory(category);
    }
}
